import { post } from './index'

export function login(body) {
    return post('/login',body).then(res => res.data)
}

export function getHomeData() {
    return post('/home').then(res => res.data)
}